70a1fcf290e6a83856c4b8827e00379cd620d240,packaging/src/main/java/org/neo4j/server/rest/repr/MediaTypeNotSupportedException.java,MediaTypeNotSupportedException,MediaTypeNotSupportedException,#Collection#MediaType#,30

Before Change


{
    public MediaTypeNotSupportedException( Collection<MediaType> supported, MediaType... requested )
    {
        super( buildMessage( supported, requested ) );
    }

    private static String buildMessage( Collection<MediaType> supported, MediaType[] requested )

After Change


    public MediaTypeNotSupportedException( Response.Status status, Collection<MediaType> supported,
                                           MediaType... requested )
    {
        super( createResponse( status, message( supported, requested ) ) );
    }

    private static Response createResponse( Response.Status status, String message )